import QtQuick 2.0
import QtQuick.Controls 2.0
import QtQuick.Controls.Styles 1.4
import QtQuick.Layouts 1.3
import 'labels'

IndexPage {
    id:window
    StackView{
        id:stackView
        anchors.fill:parent
        onDepthChanged: {
            window.changeIsIndex(stackView.empty?true:false)
        }
        ColumnLayout{
            width:parent.width
            visible:stackView.empty?true:false
            spacing: 0
            Rectangle {
                Layout.fillWidth: true
                Layout.preferredHeight: 50
                color: "#2A9CFF"
                TitleLabel {
                    color: "#ffffff"
                    text: qsTr("我的")
                    anchors.fill: parent
                }
            }
        }
    }
}
